<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<TinyGet.Models.TinyLink>" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>TinyGet - Shorten your links!</title>
    <link href="../../Content/Toolbar.css" rel="stylesheet" type="text/css" />

    <script src="../../Scripts/jquery-1.3.2.js" type="text/javascript"></script>

    <script type="text/javascript">
        $(document).ready(function() {
            $('#toolbar').hide().fadeIn(1000);
        });
    </script>

</head>
<body>
    <div id="toolbar">
        <ul class="t-main">
            <li>
            <a href="www.tinyget.com">TinyGet</a> 
            </li>
            <li>Link: <a href="<%=Model.Url %>">
                <%=Model.Url %></a> </li>
            <li>
                <div class="vote">
                    <img alt="^" src="../../Content/aupgray.gif" />
                    <img alt="v" src="../../Content/adowngray.gif" />
                </div>
                 Votes:
                <%=Model.Votes %>
            Visits:
                <%=Model.Visits %>
                Abusive Votes:
                <%=Model.AbusiveVotes %>
                </li>
                <li>
                Share:
                <img src="../../Content/digg.png" />
                <img src="../../Content/twitter.png" />
                <img src="../../Content/facebook.png" />
                <img src="../../Content/email.png" />
            </li>
        </ul>
    </div>
    <iframe id="page" src="<%=Model.Url %>"></iframe>
</body>
</html>
